package com.webservice.xmloper.activeState;

import com.thoughtworks.xstream.converters.SingleValueConverter;

public class ErrHouseConvertor implements SingleValueConverter{

	public Object fromString(String arg0) {
	
		return new ErrHouse(arg0);
	}

	public String toString(Object arg0) {
		
		return ((ErrHouse)arg0).getErrHouseId();
	}

	public boolean canConvert(Class type) {

		return type.equals(ErrHouse.class);
	}

}
